package cs271.examples.expressiontrees;

public class AdditionElement extends AbstractExprTreeElement {

	public int evaluate() {
		return ((AbstractExprTreeElement) this.getLeft()).evaluate() + ((AbstractExprTreeElement) this.getRight()).evaluate();
	}

}
